<!DOCTYPE html>
<html>
<head>
<title>Scripting</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="../css/styles.css" type="text/css">
</head>
<body>
<h1 id="scripting">Scripting</h1>
<p>To extend the application’s functionality, tools for creating and running scripts are provided.</p>
<p>Scripts are written in JavaScript (ECMAScript, <a href="https://ecma-international.org/publications-and-standards/standards/ecma-262/">ECMA-262</a>).
For details, see the guide: <a href="https://doc.qt.io/archives/qt-5.15/ecmascript.html">ECMAScript Reference</a>.</p>
<p>Scripts can be used:</p>
<ul>
<li>In the <strong>Script window</strong>, which lets you load, edit, run, debug, and save script code.</li>
<li>Inside <strong>User commands</strong> (see <a href="qthelp://candle.en/html/mainwindow/panels/usercommands.html">User Commands</a>).</li>
<li>In <strong>plugins</strong> (see <a href="qthelp://candle.en/html/plugins/script.html">Script File</a>).</li>
</ul>
<p>This section covers:</p>
<ul>
<li>Preparing, running, and debugging scripts.</li>
<li>Table of available object.</li>
<li>Table of additional classes.</li>
<li>Examples.</li>
</ul>

</body>
</html>
